Use this to create a mailbox for a custom app. This will allow the custom app to capture incoming E-Mails. For example:
controllerMappings .mailboxController() .enabled(true) .verifyMailbox('verifyMailbox') .storeMail('storeMail') .build();
Methods
Name | Returns | Notes | Example |
---|---|---|---|
enabled ( enabled ) | MailboxMappingBuilder | Set's this mailbox as enabled | |
storeMail ( storemail ) | MailboxMappingBuilder | Set's the method name to call to store/handle an email |
|
storeMail ( storemail ) | MailboxMappingBuilder | Set's a JS function to execute to store/handle an email |
|
verifyMailbox ( verifyMailbox ) | MailboxMappingBuilder | Set's the method name to call to verify the incoming email can be captured by this mailbox. The method should return a boolean. | |
verifyMailbox ( verifyMailbox ) | MailboxMappingBuilder | Set's the function to execute to verify the incoming email can be captured by this mailbox. The method should return a boolean. | |
build ( ) | MailboxMapping | Prepares and builds the Mailbox controller |
Ask a question, or offer an answer